import request from '@/utils/request'

export function workArrangementList(query) {
  return request({
    url: '/system/workArrangement/list',
    method: 'get',
    params: query
  })
}
export function workArrangementAdd(data) {
  return request({
    url: '/system/workArrangement',
    method: 'post',
    data: data
  })
}

export function workArrangementEdit(data) {
  return request({
    url: '/system/workArrangement',
    method: 'put',
    data: data
  })
}
export function workArrangementInfo(params) {
  return request({
    url: '/system/workArrangement/' + params,
    method: 'get',
  })
}
export function workArrangementDel(data) {
  return request({
    url: '/system/workArrangement/' + data,
    method: 'DELETE',
    params: data
  })
}
